<template>
  <div id="firstHeader">
    <div class="left iconfont">&#xe7ba; 随拍</div>
    <div class="middle">
      <router-link to="/">
        <span class=" header-span">推荐</span>
      </router-link>        |
      <router-link to="/city">
        <span class="header-span">北京</span>
      </router-link>
    </div>
    <div class="right iconfont">&#xe636;</div>
  </div>
</template>

<script>
export default {
  name: 'firstHeader'
};
</script>

<style scoped>
a{
  color: #FFFFFF;
}
#firstHeader {
  width: 100%;
  position: fixed;
  top: 0.5rem;
  left: 0;
  height: 0.61rem;
  line-height: 0.61rem;
  margin: 0 auto;
  z-index: 9999;
}

#firstHeader .left {
  position: fixed;
  left: 0;
  top: 0.5rem;
  color: #ffffff;
  width: 20%;
  text-align: center;
  font-size: 0.35rem;
}

#firstHeader .right {
  position: fixed;
  right: 0;
  top: 0.5rem;
  color: #ffffff;
  width: 20%;
  text-align: center;
  font-size: 0.4rem;
}

#firstHeader .middle {
  text-align: center;
  font-size: 0.4rem;
}
.middle .header-span {
  font-size: 0.4rem;
}
</style>
